﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace BibMan.model.database {
    [Serializable]
    public class Pin {

        [XmlIgnore]
        public HashSet<Reference> References { get; set; }
        [XmlElement]
        public String Notes { get; set; }

        public Pin() {
            this.References = new HashSet<Reference>();
            this.Notes = String.Empty;
        }

        public Pin(String notes)
            : this() {
            this.Notes = notes;
        }

        //public override String ToString() {
        //    return String.Format("{0}", Name);
        //}

    }
}
